// The Z-World supported flash device table.  The format is:
//
//   // manufacturer and device names
//   [manufacturer code * 0x100 + device code]
//   sector size = sector size in bytes (128 for large sector flash)
//   num sectors = number of sectors on the device
//   flash size  = size of flash in 4KB blocks (eg:  256KB = 64)
//   write mode  = 1 for small sector, sector erase (0x30) byte write
//               = 2 for small sector, sector write
//               = 3 for small page, page erase (0x50) byte write
//               = 4 for small sector, sector erase (0x20) byte write
//                 or
//               > 0x10 for large sector, sector erase (0x30) byte write
//                 (see FLASHWR.LIB SectorData table flash sector layout maps)

// AMD AM29F002BB
[0134]
sector size = 128
num sectors = 7
flash size  = 64
write mode  = 0x16
// AMD AM29LV002BT
[0140]
sector size = 128
num sectors = 7
flash size  = 64
write mode  = 0x15
// AMD AM29LV001BB
[016D]
sector size = 128
num sectors = 10
flash size  = 32
write mode  = 0x1F
// AMD AM29F004BT
[0177]
sector size = 128
num sectors = 11
flash size  = 128
write mode  = 0x17
// AMD AM29F004BB
[017B]
sector size = 128
num sectors = 11
flash size  = 128
write mode  = 0x18
// AMD AM29F040B
[01A4]
sector size = 128
num sectors = 8
flash size  = 128
write mode  = 0x1A
// AMD AM29F002BT
[01B0]
sector size = 128
num sectors = 7
flash size  = 64
write mode  = 0x15
// AMD AM29LV004BT
[01B5]
sector size = 128
num sectors = 11
flash size  = 128
write mode  = 0x17
// AMD AM29LV004BB
[01B6]
sector size = 128
num sectors = 11
flash size  = 128
write mode  = 0x18
// AMD AM29LV002BB
[01C2]
sector size = 128
num sectors = 7
flash size  = 64
write mode  = 0x16
// AMD AM29LV001BT
[01ED]
sector size = 128
num sectors = 10
flash size  = 32
write mode  = 0x13

// Fujitsu MBM29F002BC
[0434]
sector size = 128
num sectors = 7
flash size  = 64
write mode  = 0x16
// Fujitsu MBM29F002TC
[04B0]
sector size = 128
num sectors = 7
flash size  = 64
write mode  = 0x15

// Atmel AT49F002 (non-sector-erasable 16K bottom boot block!)
[1F07]
sector size = 128
num sectors = 5
flash size  = 64
write mode  = 0x12
// Atmel AT49F002T (non-sector-erasable 16K top boot block!)
[1F08]
sector size = 128
num sectors = 5
flash size  = 64
write mode  = 0x11
// Atmel AT29LV010 / AT29BV010A
[1F35]
sector size = 128
num sectors = 1024
flash size  = 32
write mode  = 2
// Atmel AT29C040
[1FA4]
sector size = 256
num sectors = 2048
flash size  = 128
write mode  = 2
// Atmel AT29LV020 / AT29BV020
[1FBA]
sector size = 256
num sectors = 1024
flash size  = 64
write mode  = 2
// Atmel AT29LV040 / AT29BV040
[1FC4]
sector size = 256
num sectors = 2048
flash size  = 128
// Atmel AT49LV08DT
[1FC3]
sector size = 256
num sectors = 4096
flash size  = 256
write mode  = 2
// Atmel AT29C010
[1FD5]
sector size = 128
num sectors = 1024
flash size  = 32
write mode  = 2
// Atmel AT29C020
[1FDA]
sector size = 256
num sectors = 1024
flash size  = 64
write mode  = 2
// REALLY 256! - BPM
// Atmel AT45DB081D
//[1F24]
//sector size = 264
//num sectors = 4096
//flash size  = 128
//write mode  = 2
[1F24]
sector size = 264
num sectors = 2048
flash size  = 128
write mode  = 2
[1F2C]
sector size = 528
num sectors = 1024
flash size  = 256
write mode  = 2

// Spansion S29AL008D - top boot block
[01DA]
sector size = 128
num sectors = 19
flash size  = 256
write mode  = 0x13

// STMicroelectronics M29W010B
[2023]
sector size = 128
num sectors = 8
flash size  = 32
write mode  = 0x20
// STMicroelectronics M29F040B
[20E2]
sector size = 128
num sectors = 8
flash size  = 128
write mode  = 0x1A
// STMicroelectronics M29W040B
[20E3]
sector size = 128
num sectors = 8
flash size  = 128
write mode  = 0x1A

// Mosel/Vitelic V29C51001T
[4001]
sector size = 512
num sectors = 256
flash size  = 32
write mode  = 1
// Mosel/Vitelic V29C51002T
[4002]
sector size = 512
num sectors = 512
flash size  = 64
write mode  = 1
// Mosel/Vitelic V29C51004T
[4003]
sector size = 1024
num sectors = 512
flash size  = 128
write mode  = 1
// Mosel/Vitelic V29LC51001
[4060]
sector size = 512
num sectors = 256
flash size  = 32
write mode  = 1
// Mosel/Vitelic V29C31004T
[4063]
sector size = 1024
num sectors = 512
flash size  = 128
write mode  = 1
// Mosel/Vitelic V29C31004B
[4073]
sector size = 1024
num sectors = 512
flash size  = 128
write mode  = 1
// Mosel/Vitelic V29LC51002
[4082]
sector size = 512
num sectors = 512
flash size  = 32
write mode  = 1
// Mosel/Vitelic V29C51001B
[40A1]
sector size = 512
num sectors = 256
flash size  = 32
write mode  = 1
// Mosel/Vitelic V29C51002B
[40A2]
sector size = 512
num sectors = 512
flash size  = 64
write mode  = 1
// Mosel/Vitelic V29C51004B
[40A3]
sector size = 1024
num sectors = 512
flash size  = 128
write mode  = 1

// Hyundai Hy29F002B
[AD34]
sector size = 128
num sectors = 7
flash size  = 64
write mode  = 0x16
// Hynix/Hyundai HY29F002T
[ADB0]
sector size = 128
num sectors = 7
flash size  = 64
write mode  = 0x15

// SST SST29EE010
[BF07]
sector size = 128
num sectors = 1024
flash size  = 32
write mode  = 2
// SST SST29LE010 / SST29VE010
[BF08]
sector size = 128
num sectors = 1024
flash size  = 32
write mode  = 2
// SST SST29EE020
[BF10]
sector size = 128
num sectors = 2048
flash size = 64
write mode = 2
// SST SST29LE020 / SST29VE020
[BF12]
sector size = 128
num sectors = 2048
flash size  = 64
write mode  = 2
// SST SST29SF040
[BF13]
sector size = 128
num sectors = 2048
flash size  = 128
write mode  = 4
// SST SST29VF040
[BF14]
sector size = 128
num sectors = 2048
flash size  = 128
write mode  = 4
// SST SST29SF512
[BF20]
sector size = 128
num sectors = 512
flash size  = 16
write mode  = 4
// SST SST29VF512
[BF21]
sector size = 128
num sectors = 512
flash size  = 16
write mode  = 4
// SST SST29SF010
[BF22]
sector size = 128
num sectors = 1024
flash size  = 32
write mode  = 4
// SST SST29VF010
[BF23]
sector size = 128
num sectors = 1024
flash size  = 32
write mode  = 4
// SST SST29SF020
[BF24]
sector size = 128
num sectors = 2048
flash size  = 64
write mode  = 4
// SST SST29VF020
[BF25]
sector size = 128
num sectors = 2048
flash size  = 64
write mode  = 4
// SST SST29LE512 / SST29VE512
[BF3D]
sector size = 128
num sectors = 512
flash size  = 16
write mode  = 2
// SST SST29EE512
[BF5D]
sector size = 128
num sectors = 512
flash size  = 16
write mode  =  2
// SST SST39SF512
[BFB4]
sector size = 4096
num sectors = 16
flash size  = 16
write mode  = 1
// SST SST39SF010
[BFB5]
sector size = 4096
num sectors = 32
flash size  = 32
write mode  = 1
// SST SST39SF020
[BFB6]
sector size = 4096
num sectors = 64
flash size  = 64
write mode  = 1
// SST SST39SF040
[BFB7]
sector size = 4096
num sectors = 128
flash size  = 128
write mode  = 1
// SST SST39LF512 / SST39VF512
[BFD4]
sector size = 4096
num sectors = 16
flash size  = 16
write mode  = 1
// SST SST39LF010 / SST39VF010
[BFD5]
sector size = 4096
num sectors = 32
flash size  = 32
write mode  = 1
// SST SST39LF020 / SST39VF020
[BFD6]
sector size = 4096
num sectors = 64
flash size  = 64
write mode  = 1
// SST SST39LF040 / SST39VF040
[BFD7]
sector size = 4096
num sectors = 128
flash size  = 128
write mode  = 1
[BFD8]
sector size = 4096
num sectors = 256
flash size  = 256
write mode  = 1

// Macronix MX29F002B
[C234]
sector size = 128
num sectors = 7
flash size  = 64
write mode  = 0x16
// Macronix MX29F002T
[C2B0]
sector size = 128
num sectors = 7
flash size  = 64
write mode  = 0x15

// Winbond W29C020CT
[DA45]
sector size = 128
num sectors = 2048
flash size  = 64
write mode  = 2
// Winbond W29C040
[DA46]
sector size = 256
num sectors = 2048
flash size  = 128
write mode  = 2
// Winbond W39L020
[DAB5]
sector size = 4096
num sectors = 64
flash size  = 64
write mode  = 3
// Winbond W29EE011
[DAC1]
sector size = 128
num sectors = 1024
flash size  = 32
write mode  = 2

// SST 39LV/VF800A
[BF81]
sector size = 4096
num sectors = 256
flash size  = 256
write mode  = 5
// SST 39LV/VF400A
[BF80]
sector size = 4096
num sectors = 128
flash size  = 128
write mode  = 5
// SST 39LV/VF200A
[BF89]
sector size = 4096
num sectors = 64
flash size  = 64
write mode  = 5